export interface Order {
  column: string
  asc: boolean
}
//物资列表
export interface GoodsList {
  records: any[]
  total: number
  size: number
  current: number
  orders: Order[]
  optimizeCountSql: boolean
  searchCount: boolean
  optimizeJoinOfCountSql: boolean
  countId: string
  maxLimit: number
  pages: number
}

//请求物资参数
export interface selectGoodsT {
  currentPage: number
  nextPage: number
  name?: string
  userId?: number
  gGoods?: string
  userName?: string
}

//物资申请参数
export interface approveType {
  userId: number
  userName: string
  gtype: string
  ghelpgoods: string
  gcount: number
}
//申请表类型
export interface approveTable {
  id?: number
  userId: number
  userName: string
  isDelete?: number
  createTime: Date
  gcount: number
  gtype: string
  ghelpgoods: string
  gstatus: number
}

//采购表类型
export interface purchaseTable {
  id?: number
  userId: number
  userName: string
  isDelete?: number
  createTime: Date
  gcount: number
  ggoods: string
  gtype: string
  gstatus: string
  gmoney: string
}
export type status = 'success' | 'failed'
